package com.nifostasky.comic.dtos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description="行政机构业务管理")
public class SysOrgDTO implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String orgName;

    @ApiModelProperty(value = "别名")
    private String aliasName;

    @ApiModelProperty(value = "父节点(最高层级为0,但不为空)")
    private Long parentId;

    @ApiModelProperty(value = "节点类型(可数据字典配置)0.行政区域(默认) ")
    private Long orgType;

    @ApiModelProperty(value = "编码")
    private String orgCode;

    @ApiModelProperty(value = "组织层级(数据字典配置)  层级 0.国家 1.省 2.市 3.区县 4.乡镇/街道办")
    private Integer orgLevel;

    @ApiModelProperty(value = "是否启用(1启用、2禁用)")
    private Integer orgStatus;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间(初次和创建时间一致)")
    private Date updateTime;

    @ApiModelProperty(value = "经度")
    private String lon;

    @ApiModelProperty(value = "纬度")
    private String lat;

    @ApiModelProperty(value = "描述信息")
    private String remark;
}
